﻿@model DeJC.DAL.Model.Product

@{
    ViewBag.Title = "Delete";
    Layout="~/Views/Shared/_LayoutConfig.cshtml";
    
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Product</legend>

    <div class="display-label">NavBrand</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NavBrand.Name)
    </div>

    <div class="display-label">NavCategory</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NavCategory.Name)
    </div>

    <div class="display-label">NavUnit</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NavUnit.Name)
    </div>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">Deleted</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Deleted)
    </div>

    <div class="display-label">DeletedDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DeletedDate)
    </div>

    <div class="display-label">ImagePathSmall</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ImagePathSmall)
    </div>

    <div class="display-label">ImagePathMedium</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ImagePathMedium)
    </div>

    <div class="display-label">ImagePathLarge</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ImagePathLarge)
    </div>

    <div class="display-label">Size</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Size)
    </div>

    <div class="display-label">Price</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
